#!/usr/bin/env php
<?php
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
include dirname(dirname(dirname(__FILE__))) . '/class/design.class.php';
su('admin');

/**

title=测试 designModel->linkCommit();
cid=1
pid=1

*/
$designIDList = array('0', '1');
$repoIDList   = array('0', '1');
$revision     = array('24', '25', '26', '27');

$normalLink = array('revision' => $revision);

$design = new designTest();
var_dump($design->linkCommitTest($designIDList[1], $repoIDList[1], $normalLink));die;
r($design->linkCommitTest()) && p() && e();
